package com.example.android.ui.home;

import com.example.android.bean.BaseBean;
import com.example.android.bean.Goods;

import java.util.List;

import io.reactivex.rxjava3.core.Flowable;

public interface HomeContract {
    interface  IHomePresenter{
       void getData();
    }

    interface IHomeModel{

        Flowable<BaseBean<List<Goods>>> getData();
    }

    interface IHomeView{
        void getGoodsSuccess(List<Goods> goodsList);
        void getGoodsError(Throwable throwable);
    }
}
